package com.zt.bigdata.vertx.interceptor

import com.typesafe.scalalogging.LazyLogging

/**
  *
  */
trait Animal extends LazyLogging {
  def speak(): Unit = {}
}

case class Dog() extends Animal {
  override def speak(): Unit = logger.info("bark bark")
}

case class Cat() extends Animal {
  override def speak(): Unit = logger.info("miao miao")
}
